package ru.rchervot.sanasar.client.view;


public class RootPresenterDefault implements RootPresenter {
	
	private final Display display;
	
	public RootPresenterDefault(Display display) {
		this.display = display;
	}
	
	@Override
	public void bindDisplay() {
		display.setPresenter(this);
	}
	
	@Override
	public void showModuleCandidates(Presenter.Display moduleDisplay) {
		this.display.showCandidates(moduleDisplay);
	}

	@Override
	public void showModuleSettings(Presenter.Display moduleDisplay) {
		this.display.showSettings(moduleDisplay);
		
	}
}
